<template>
	<view class="content" v-if="showPage">
		
		<view class="info-v">
			<view class="info"><view class="title">月支：</view><view class="desc"> {{myData.yuezhi}}</view></view>
			
			<view class="info"><text class="title">月七煞：</text><view class="desc">{{myData.yueqisha}}</view></view>
			
			<view class="info"><text class="title">犯太岁：</text><view class="desc">{{myData.fantaisui}}</view></view>
			
			<view class="info"><text class="title">二十八宿：</text><view class="desc">{{myData.esbx}}</view></view>
			
			<view class="info"><text class="title">财神：</text><view class="desc">{{myData.caishen}}</view></view>
			
			<view class="info"><text class="title">月三煞：</text><view class="desc">{{myData.yuesansha}}</view></view>
			
			<view class="info"><text class="title">年三煞：</text><view class="desc">{{myData.niansansha}}</view></view>
			
			<view class="info"><view class="title">九星：</view><view class="desc"> {{myData.jiuxing}}</view></view>
			
			<view class="info"><text class="title">年七煞：</text><view class="desc">{{myData.nianqisha}}</view></view>
			
			<view class="info"><text class="title">物候：</text><view class="desc">{{myData.wuhou}}</view></view>
			
			<view class="info"><text class="title">日禄：</text><view class="desc">{{myData.rilu}}</view></view>
			
			<view class="info"><text class="title">日空亡：</text><view class="desc">{{myData.rikongwang}}</view></view>
			
			<view class="info"><text class="title">仲冬：</text><view class="desc">{{myData.zhongdong}}</view></view>
			
			<view class="info"><text class="title">年空亡：</text><view class="desc">{{myData.niankongwang}}</view></view>
			
			<view class="info"><text class="title">岁破位：</text><view class="desc">{{myData.suipowei}}</view></view>
			
			<view class="info"><text class="title">日三煞：</text><view class="desc">{{myData.risansha}}</view></view>
			
			<view class="info"><text class="title">年太岁：</text><view class="desc">{{myData.niantaisui}}</view></view>
			
			<view class="info"><text class="title">十二值神：</text><view class="desc">{{myData.zhishen12}}</view></view>
			
			<view class="info"><text class="title">十二值日：</text><view class="desc">{{myData.zhiri12}}</view></view>
			
			
			
			<view class="info"><text class="title">推荐吉时：</text><view class="desc">{{myData.tjjs}}</view></view>
			<view class="info"><text class="title">月令：</text><view class="desc">{{myData.yueling}}</view></view>
			<view class="info"><text class="title">日七煞：</text><view class="desc">{{myData.riqisha}}</view></view>
			<view class="info"><text class="title">喜神：</text><view class="desc">{{myData.xishen}}</view></view>
			<view class="info"><text class="title">阴贵神：</text><view class="desc">{{myData.yinguishen}}</view></view>
			<view class="info"><text class="title">福神：</text><view class="desc">{{myData.fushen}}</view></view>
			<view class="info"><text class="title">月相：</text><view class="desc">{{myData.yuexiang}}</view></view>
			<view class="info"><text class="title">月空亡：</text><view class="desc">{{myData.yuekongwang}}</view></view>
			<view class="info"><text class="title">阳贵神：</text><view class="desc">{{myData.yangguishen}}</view></view>
			
			<view class="info"><text class="title">易经卦象：</text><view class="desc">{{myData.yjgx}}</view></view>
			<view class="info"><text class="title">六曜：</text><view class="desc">{{myData.liuyao}}</view></view>
			<view class="info"><text class="title">太岁位：</text><view class="desc">{{myData.taisuiwei}}</view></view>
		</view>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
				showPage:false,
				myData:null
			}
		},methods:{
		},
		onLoad(options) {
			this.tokenRequest({url:'lifeService/huangLiYunShi/'+options.type+"/"+options.ymd,method:'get'}).then(res => {
				uni.hideLoading();
				this.myData = res.data;
				this.showPage = true;
			}, error => {})
		}
	}
</script>

<style lang="scss">
	.info-v{
		margin: 20rpx;
		padding: 20rpx;
		border-radius: 20rpx;
		font-size: 30rpx;
		background-color: #fff;
		overflow: auto;
		.title{
			line-height: 100rpx;
			font-weight: 800;
			font-size: 35rpx;
			float: left;
		}
		.desc{
			float: left;
			line-height: 100rpx;
		}
		.info{
			padding: 15rpx;
			clear: both;
		}
	}
</style>

